package com.zhang.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {
    @RequestMapping("/")
    public String index(){
        return "index";
    }

    @PostMapping("/notify_url")
    public String notifyUrl(){
        return "notify_url";
    }

    @RequestMapping("/return_url")
    public String returnUrl(){
        return "return_url";
    }
}
